package com.his.benchwork.dao;

import com.his.benchwork.entity.BenchWorkEmp;
import com.his.benchwork.entity.BenchWorkEmps;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BenchWorkEmpMapper {
    /**
     * 查询工作台下的操作员
     * 工作台id
     * @param benchid
     * @return
     */
    List<BenchWorkEmps> select_emp(String benchid);

    /**
     * 新增操作员
     * @param benchWorkEmp
     */
    void add_emp(BenchWorkEmp benchWorkEmp);


    /**
     * 删除操作员
     *
     * @param benchWorkEmp
     */
    void delete_emp(BenchWorkEmp benchWorkEmp);
}
